//
//  HD_HSP_FirstData_TableViewCell.m
//  HDLiaoNingMeseum
//
//  Created by HDHaoShaoPeng on 2017/8/4.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import "HD_HSP_FirstData_TableViewCell.h"

@implementation HD_HSP_FirstData_TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.backgroundColor = [UIColor clearColor];
    self.contentView.backgroundColor = [UIColor clearColor];
    self.myLabel.layer.borderColor = [UIColor whiteColor].CGColor;
    self.myLabel.layer.borderWidth = 2.0;
}

-(void)updateUI
{
    NSString *backStr = [NSString stringWithFormat:@"auto_unit_%ld",(long)self.myIndex];
    self.backImage.image = [UIImage imageNamed:backStr];
    
    self.myLabel.text = self.model.name;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
